package com.wanmait.zaisousuo.mapper;

import com.wanmait.zaisousuo.pojo.CompanyData;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CompanyDataMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CompanyData record);

    int insertSelective(CompanyData record);

    CompanyData selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CompanyData record);

    int updateByPrimaryKey(CompanyData record);

    List<CompanyData> findAll();

    void changeStateById(@Param("flag") Boolean flag,@Param("id") Integer id);

    CompanyData getDataByCityId(@Param("cityId") Integer cityId,@Param("id") Integer id);
}